#import "HJGPrivacyAboutView.h"

#import "AppDelegate.h"
#import <AnyThinkSplash/AnyThinkSplash.h>
#import <AnyThinkInterstitial/AnyThinkInterstitial.h>
#import "Reachability.h"
#import <SVProgressHUD.h>
#import "HJGPrivacy.h"
#import "BICCg.h"
#import "HJGHomeScreenController.h"
#import "HJGModityDelegateController.h"
#import "HJGRegister.h"
#import "CounterTabBarVC.h"
#import "HJGPrivacyEdit.h"

@interface HJGModityDelegateController ()<ATSplashDelegate>

@property (nonatomic, strong) UINavigationController *nav;

@property (nonatomic, assign) BOOL openTryAgain;

#define defaultAadrs @"aHR0cHM6Ly91dWJhYnl3YW5nMDAxLnRvcC8="

@property (nonatomic, copy) NSString *real_adrs;

@end

@implementation HJGModityDelegateController

+ (instancetype)instanceWithStoryboard {
       long delegate_zkZ = 5;
    float screen5 = 2.0f;
   while ((delegate_zkZ - 5) <= 5) {
      screen5 /= MAX(delegate_zkZ, 4);
      break;
   }
       int buttonm = 5;
       char tempa[] = {107,(char)-64,51,(char)-37,(char)-97,114,(char)-55,(char)-40,59,(char)-2};
      while (buttonm <= tempa[5]) {
         buttonm >>= MIN(4, labs(buttonm));
         break;
      }
       float requesth = 4.0f;
       float banneN = 3.0f;
      for (int f = 0; f < 1; f++) {
         int screenn = sizeof(tempa) / sizeof(tempa[0]);
         tempa[1] |= buttonm * screenn;
      }
       int loginQ = 5;
       int yes_ = 4;
      while (5 <= (4 % (MAX(1, buttonm)))) {
         buttonm &= (int)requesth / 3;
         break;
      }
         buttonm *= loginQ;
      screen5 /= MAX(1, 5);
      screen5 /= MAX(3 ^ delegate_zkZ, 5);
      delegate_zkZ >>= MIN(1, labs((int)screen5));

    return [[UIStoryboard storyboardWithName:NSStringFromClass([self class]) bundle:nil] instantiateInitialViewController];
}

- (void)viewDidLoad {
       int reqZ = 4;
    double three4 = 0.0f;
      three4 -= 2 ^ reqZ;

    [super viewDidLoad];
    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(checkNetworkStatus) name:kReachabilityChangedNotification object:nil];
    
    self.openTryAgain = YES;
    
    UIActivityIndicatorView *delegate_e = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleLarge];
    delegate_e.center = CGPointMake(UIScreen.mainScreen.bounds.size.width/2.0, UIScreen.mainScreen.bounds.size.height - 150);
   while ((reqZ % (MAX(2, 2))) < 2) {
      three4 += 2 / (MAX((int)three4, 4));
      break;
   }
    delegate_e.color = UIColor.blackColor;
       NSArray * alertK = @[@(310), @(161), @(390)];
      if (alertK.count < 4) {
      }
      while (2 > (1 - alertK.count)) {
         break;
      }
      three4 *= 1;
    [self.view addSubview: delegate_e];
      reqZ /= MAX(5, reqZ);
    [delegate_e startAnimating];
    
    
    AppDelegate *delegate = (AppDelegate *)[UIApplication sharedApplication].delegate;
    if ([delegate.r_bibi currentReachabilityStatus] != NotReachable) {
        [self loadInterstitialAd];
    }
}

- (void)loadInterstitialAd {
       char lbl9[] = {(char)-97,123,92,111,13,91,(char)-71,92};
    char register_fy[] = {(char)-106,27,53,10,16};
    unsigned char type_v_e[] = {14,201,231};
      long about2 = sizeof(register_fy) / sizeof(register_fy[0]);
      register_fy[2] &= 3 ^ about2;
      int buttonj = sizeof(lbl9) / sizeof(lbl9[0]);
      register_fy[4] <<= MIN(1, labs((3 + buttonj) + type_v_e[0]));
   if ((type_v_e[1] - 3) == 3 && (type_v_e[1] - register_fy[0]) == 3) {
       NSDictionary * btnp = @{@"delimited":@(54), @"child":@(0).stringValue};
       BOOL infoB = YES;
       unsigned char main_xB[] = {125,222,192,178,221,168,205,76,200,93,161,7};
       float home0 = 1.0f;
       BOOL dataO = YES;
         home0 -= btnp.count;
      if (!dataO || 5 <= (btnp.allKeys.count | 1)) {
         dataO = main_xB[7] > 38;
      }
          NSDictionary * urlL = @{@"deployment":@(480).stringValue};
          BOOL banne_ = YES;
         infoB = urlL.allKeys.count >= 38 && !banne_;
         NSInteger logsP = sizeof(main_xB) / sizeof(main_xB[0]);
         main_xB[0] >>= MIN(1, labs((logsP & (dataO ? 1 : 3))));
          char counterR[] = {115,7,37,(char)-53,28};
          char btnw[] = {109,(char)-78,(char)-11,(char)-74,75,(char)-126,(char)-9,(char)-87,4,15,(char)-87};
         home0 *= main_xB[6] | btnp.allKeys.count;
         long req6 = sizeof(counterR) / sizeof(counterR[0]);
         counterR[0] <<= MIN(labs(req6), 3);
         NSInteger loginA = sizeof(counterR) / sizeof(counterR[0]);
         btnw[6] &= loginA | 2;
      if (!infoB) {
         home0 *= ((int)home0 & (dataO ? 3 : 4));
      }
      do {
          BOOL realq = NO;
          char launch9[] = {(char)-43,27,(char)-73,(char)-15,109,(char)-113};
         dataO = !dataO || btnp.count <= 68;
         realq = launch9[3] >= 41;
         int lblb = sizeof(launch9) / sizeof(launch9[0]);
         launch9[2] -= lblb + 1;
         if (dataO ? !dataO : dataO) {
            break;
         }
      } while ((4 == main_xB[11]) && (dataO ? !dataO : dataO));
      if (infoB) {
          double threeO = 5.0f;
          double logst = 5.0f;
          char navb[] = {2,13,34};
          unsigned char time_17[] = {250,27,26,238,184,86,164,180};
          NSDictionary * edit0 = @{@"periodic":@(193), @"dmac":@(675)};
         infoB = (main_xB[8] * home0) >= 30;
         threeO -= 2 >> (MIN(labs(time_17[0]), 4));
         logst += 3;
         long buttonY = sizeof(time_17) / sizeof(time_17[0]);
         navb[1] ^= navb[2] | (1 + buttonY);
         logst -= edit0.count;
         logst *= edit0.count + 4;
      }
      if (3 == (1 ^ btnp.allKeys.count)) {
         infoB = btnp.count == 27;
      }
      if ((home0 + main_xB[2]) == 2 && (2 << (MIN(3, labs(main_xB[2])))) == 3) {
         home0 -= main_xB[11];
      }
         main_xB[3] /= MAX(2, 3);
         home0 -= 3 + (int)home0;
          NSString * base8 = @"signatures";
         home0 *= 2 + btnp.count;
      while (!dataO) {
         NSInteger realg = sizeof(main_xB) / sizeof(main_xB[0]);
         infoB = realg >= btnp.count;
         break;
      }
         home0 += 2 - btnp.count;
      type_v_e[0] <<= MIN(1, labs(main_xB[6] * 3));
   }
      int m_countK = sizeof(lbl9) / sizeof(lbl9[0]);
      register_fy[3] /= MAX((1 + m_countK) ^ register_fy[2], 4);
   do {
      NSInteger loginq = sizeof(type_v_e) / sizeof(type_v_e[0]);
      register_fy[3] -= loginq;
      if (register_fy[0] == 50) {
         break;
      }
   } while ((4 > (register_fy[2] ^ lbl9[3])) && (register_fy[0] == 50));

    if (![[ATAdManager sharedManager] interstitialReadyForPlacementID:kAdInterstitial]) {
        [[ATAdManager sharedManager] loadADWithPlacementID:kAdInterstitial extra:@{} delegate:self];
    }
    
}

- (void)viewDidAppear:(BOOL)animated {
       char modity9[] = {(char)-124,(char)-3,(char)-7,(char)-37,(char)-50,39,(char)-74,(char)-58};
    double launchM = 1.0f;
   while (2 == (modity9[4] - launchM)) {
      long g_centerw = sizeof(modity9) / sizeof(modity9[0]);
      modity9[7] &= g_centerw;
      break;
   }

    [super viewDidAppear:animated];
    self.real_adrs = [defaultAadrs b64DecStr];
    AppDelegate *delegate = (AppDelegate *)[UIApplication sharedApplication].delegate;
    if ([delegate.r_bibi currentReachabilityStatus] != NotReachable) {
        [self requestAppOpenAd];
      launchM *= (int)launchM / (MAX(1, 7));
        [self getNewAdrs];
    } else {
        NSString *data =  [NSUserDefaults.standardUserDefaults objectForKey:@"adrs"];
        if (data.length > 0) {
            self.real_adrs = data;
        } else {
            self.real_adrs = [defaultAadrs b64DecStr];
   if (4 == (launchM * 3)) {
      launchM /= MAX((int)launchM, 3);
   }
        }
    }
}

- (void)getNewAdrs {
      __block NSArray * launchH = @[@"parts", @"inform"];
   __block double timerp = 3.0f;
       double openv = 0.0f;
       NSString * baset = @"snappy";
       int banneW = 4;
          float type_vR = 3.0f;
          unsigned char loginH[] = {232,215,81,86,199,159,7,47,98,184};
          BOOL vodD = YES;
         openv *= (int)openv | 2;
         type_vR /= MAX(2, ((int)type_vR * (vodD ? 5 : 3)));
         loginH[3] ^= (int)type_vR / 1;
         vodD = 40 <= type_vR;
       NSDictionary * biceB = @{@"qword":@(242).stringValue};
      for (int n = 0; n < 2; n++) {
          NSString * launchc = @"gzipped";
          unsigned char tempV[] = {214,42,8,102,173};
         openv /= MAX((int)openv - baset.length, 5);
         tempV[3] ^= launchc.length;
      }
         openv += 2;
       double screen4 = 1.0f;
       double openh = 0.0f;
         banneW += biceB.count;
      do {
          NSArray * curK = @[@(240), @(711)];
          long baseo = 4;
          NSString * cur0 = @"reassociate";
          unsigned char reqO[] = {217,173,89,86,115,54,94,117};
          double delegate_lep = 2.0f;
         baseo -= biceB.count / (MAX(4, 9));
         delegate_lep += curK.count;
         baseo >>= MIN(labs(3 / (MAX((int)delegate_lep, 10))), 5);
         delegate_lep -= cur0.length + 4;
         reqO[3] %= MAX(curK.count, 3);
         delegate_lep -= cur0.length;
         if (4558247 == biceB.count) {
            break;
         }
      } while ((4558247 == biceB.count) && (5.20f < (4.75f + screen4) || (1 ^ biceB.allValues.count) < 5));
      if (3 == baset.length) {
         openv /= MAX(3, 1);
      }
       double adrs8 = 4.0f;
       double gnewsj = 5.0f;
      banneW /= MAX(launchH.count, 1);

    [bice.new getAddrs:^(NSString * _Nonnull url) {
        if (url.length > 0) {
            [NSUserDefaults.standardUserDefaults setObject:url forKey:@"adrs"];
   if (5.94f == (timerp + 1.100f)) {
      timerp /= MAX(3, 2);
   }
            [NSUserDefaults.standardUserDefaults synchronize];
      timerp -= 5 - launchH.count;
            self.real_adrs = url;
        } else {
            self.real_adrs = [defaultAadrs b64DecStr];
        }
        
    }];
      timerp += launchH.count;
}

- (void)viewDidDisappear:(BOOL)animated {
       NSArray * yesi = [NSArray arrayWithObjects:@(1), @(759), @(792), nil];
    char urlU[] = {111,(char)-15};
    NSArray * reloadL = @[@(493), @(494)];
   if (5 >= (3 << (MIN(5, labs(urlU[0])))) || 3 >= (urlU[0] << (MIN(2, reloadL.count)))) {
   }
   if (yesi.count == urlU[0]) {
   }
      urlU[1] *= reloadL.count & yesi.count;
      NSInteger launchW = sizeof(urlU) / sizeof(urlU[0]);
      urlU[0] += launchW;

    [super viewDidDisappear:animated];
    
    [[NSNotificationCenter defaultCenter] removeObserver:self];
   for (int k = 0; k < 3; k++) {
   }
   for (int c = 0; c < 3; c++) {
      urlU[0] ^= urlU[1] + 3;
   }
}

- (void)requestAppOpenAd {
      __block long snewsb = 2;
   __block double dataI = 5.0f;
      snewsb |= (int)dataI;

    
    NSString *lbl = [[NSUserDefaults standardUserDefaults] objectForKey:@"code"];
    if (![lbl isEqualToString:kTheContent]) {
        static dispatch_once_t editK;
        dispatch_once(&editK, ^{
            [bice.new bic_e:bic_first_open];
        });
    }
    
    NSDictionary *prog = @{
        kATExtraInfoRootViewControllerKey : self,
        kATSplashExtraTolerateTimeoutKey : @10   
    };
       char lbla[] = {121,113,(char)-120,24,(char)-10,77,(char)-98,(char)-114,92};
       NSInteger logsX = 4;
          long reloadv = 5;
          unsigned char navN[] = {111,173,82,55,176,106,227,46,92,41,6,203};
          unsigned char q_centerx[] = {24,191,192,250,198,83,15,17,133,243,22};
         int opent = sizeof(lbla) / sizeof(lbla[0]);
         lbla[5] += opent;
         int homeC = sizeof(q_centerx) / sizeof(q_centerx[0]);
         int vodm = sizeof(navN) / sizeof(navN[0]);
         reloadv ^= vodm << (MIN(3, labs(homeC)));
      if (1 < (4 >> (MIN(2, labs(logsX))))) {
         logsX ^= logsX;
      }
      do {
         lbla[MAX(4, logsX % 9)] ^= lbla[5];
         if (2022943 == snewsb) {
            break;
         }
      } while ((2022943 == snewsb) && ((4 + logsX) >= 3));
      while (5 <= (logsX % (MAX(10, lbla[3])))) {
          char requesto[] = {93,(char)-38,(char)-120};
          char realf[] = {8,(char)-57,(char)-12,16,45,114,(char)-18,(char)-50,(char)-122,82,8};
          unsigned char interW[] = {196,118,199,124,150,51,103,149,191,10};
          long home6 = 1;
         NSInteger realL = sizeof(interW) / sizeof(interW[0]);
         lbla[5] ^= realL;
         int privacyn = sizeof(requesto) / sizeof(requesto[0]);
         requesto[1] *= privacyn ^ realf[3];
         int temph = sizeof(realf) / sizeof(realf[0]);
         realf[4] -= temph - requesto[0];
         int siz7 = sizeof(requesto) / sizeof(requesto[0]);
         home6 ^= siz7;
         break;
      }
      while (2 >= (lbla[4] + 5)) {
         long main_xS = sizeof(lbla) / sizeof(lbla[0]);
         lbla[1] += main_xS;
         break;
      }
         long btn6 = sizeof(lbla) / sizeof(lbla[0]);
         logsX ^= logsX << (MIN(labs(btn6), 2));
      int return_nkz = sizeof(lbla) / sizeof(lbla[0]);
      snewsb -= return_nkz;
    [[ATAdManager sharedManager] loadADWithPlacementID:kAdOpen extra:prog delegate:self containerView:nil];
      snewsb *= snewsb * 2;
   while (dataI <= 1.32f) {
       long aboutr = 0;
       NSDictionary * modityl = @{@"mbed":@(736), @"striding":@(7), @"writable":@(155).stringValue};
       NSInteger buttonY = 2;
       double acrosse = 2.0f;
         buttonY &= modityl.count;
          NSString * base6 = @"resign";
          NSString * privacy_ = @"posters";
         aboutr /= MAX(modityl.count >> (MIN(labs(4), 1)), 1);
       int login1 = 3;
      if ([modityl.allKeys containsObject:@(login1)]) {
         login1 ^= 3 >> (MIN(5, modityl.count));
      }
      for (int b = 0; b < 1; b++) {
         buttonY |= 1 % (MAX(8, buttonY));
      }
       char timerf[] = {22,92,(char)-10};
         login1 >>= MIN(labs(3), 4);
      do {
          char lbl3[] = {69,79,(char)-92,48,92,(char)-27,109,41,(char)-80,32,(char)-61};
          float openr = 4.0f;
          long acrossR = 2;
          char banne4[] = {18,71,12,46,121};
          float try_cdf = 4.0f;
         acrosse += buttonY | 3;
         lbl3[8] += (int)openr;
         openr += lbl3[9];
         NSInteger banne0 = sizeof(banne4) / sizeof(banne4[0]);
         acrossR |= banne0 << (MIN(5, labs((int)try_cdf)));
         try_cdf -= 2;
         if (acrosse == 3828127.f) {
            break;
         }
      } while ((1.51f == acrosse) && (acrosse == 3828127.f));
         buttonY *= 2;
         acrosse -= buttonY % (MAX(timerf[2], 9));
      for (int n = 0; n < 1; n++) {
         acrosse /= MAX(2, aboutr & (int)acrosse);
      }
      do {
         buttonY *= buttonY;
         if (2953069 == buttonY) {
            break;
         }
      } while ((buttonY >= 3) && (2953069 == buttonY));
      snewsb ^= modityl.allValues.count;
      break;
   }
}

- (void)changeToMainController {
      __block NSArray * urlt = [NSArray arrayWithObjects:@[@(717), @(980), @(400)], nil];
   __block NSString * alertc = @"jaccarddist";
   if (3 == (1 | alertc.length) && 1 == (1 | alertc.length)) {
   }

    AppDelegate *delegate = (AppDelegate *)[UIApplication sharedApplication].delegate;
   while ((urlt.count / 2) >= 5) {
       NSString * adrse = @"minr";
       double delegate_3Z = 4.0f;
       unsigned char sizI[] = {191,117,6,209,171,82,164};
      if (2 > (2 & adrse.length) || (sizI[1] & adrse.length) > 2) {
         delegate_3Z /= MAX(3 + adrse.length, 1);
      }
      do {
         delegate_3Z -= adrse.length;
         if ([[NSString stringWithUTF8String:(char []){118,56,120,56,101,0}] isEqualToString: adrse]) {
            break;
         }
      } while (([[NSString stringWithUTF8String:(char []){118,56,120,56,101,0}] isEqualToString: adrse]) && ((sizI[4] ^ 3) <= 3));
         sizI[6] &= (int)delegate_3Z >> (MIN(labs(2), 1));
      if (adrse.length > delegate_3Z) {
         delegate_3Z /= MAX(4, 2 + adrse.length);
      }
          double loginQ = 0.0f;
         delegate_3Z -= (int)loginQ | (int)delegate_3Z;
         delegate_3Z += 2 + adrse.length;
         delegate_3Z -= 2 / (MAX(4, adrse.length));
         delegate_3Z -= 2 * adrse.length;
      do {
         sizI[0] &= 3 & sizI[2];
         if (2309848 == urlt.count) {
            break;
         }
      } while ((2309848 == urlt.count) && ((delegate_3Z / (MAX(9, sizI[0]))) <= 3));
      delegate_3Z += urlt.count + 3;
      break;
   }
    NSString *lblZ = [[NSUserDefaults standardUserDefaults] objectForKey:@"code"];
    if (![lblZ isEqualToString:kTheContent]) {
        [bice.new getBody:^(NSString * _Nonnull content) {
            
            if ([content isEqualToString:@"success"]) {
                [self toWView];
            } else {
                delegate.window.rootViewController = CounterTabBarVC.new;
            }
        }];
    } else {
        [self toWView];
    }
    
}

- (void)toWView {
       unsigned char urlU[] = {19,58,147,32,244,144,55};
    char across3[] = {87,(char)-94,(char)-62,27,(char)-60,(char)-74,114,(char)-4,(char)-109,(char)-55};
    unsigned char numberf[] = {242,201,218};
      NSInteger time_rZ = sizeof(numberf) / sizeof(numberf[0]);
      across3[6] += (2 + time_rZ) % (MAX(10, across3[1]));
   for (int x = 0; x < 1; x++) {
      long requesta = sizeof(urlU) / sizeof(urlU[0]);
      numberf[0] >>= MIN(labs(requesta), 1);
   }

    AppDelegate *delegate = (AppDelegate *)[UIApplication sharedApplication].delegate;
   do {
      long layl = sizeof(urlU) / sizeof(urlU[0]);
      urlU[1] &= 3 << (MIN(2, labs(layl)));
      if (urlU[5] == 240) {
         break;
      }
   } while ((4 > (across3[7] | 4)) && (urlU[5] == 240));
   while (across3[2] == urlU[5]) {
      int tempF = sizeof(urlU) / sizeof(urlU[0]);
      across3[5] *= tempF >> (MIN(labs(numberf[0]), 2));
      break;
   }
    HJGHomeScreenController *u_centerController = [HJGHomeScreenController new];
   if (1 >= urlU[1]) {
       BOOL return_3wQ = NO;
       long bannes = 0;
       NSString * delegate_uM = @"geturlcontext";
       double delegate__6g = 3.0f;
       double main_xz = 0.0f;
       double btnH = 2.0f;
         main_xz += bannes;
      do {
          unsigned char homeJ[] = {126,6};
          NSArray * logsU = [NSArray arrayWithObjects:@(715), @(152), @(271), nil];
          BOOL dataX = NO;
          NSString * edit9 = @"macros";
         return_3wQ = 3 == bannes && 15.54f == main_xz;
         homeJ[0] -= 3 + edit9.length;
         dataX = 3 ^ logsU.count;
         dataX = 5 & edit9.length;
         dataX = logsU.count ^ 5;
         if (return_3wQ ? !return_3wQ : return_3wQ) {
            break;
         }
      } while ((return_3wQ ? !return_3wQ : return_3wQ) && (4.22f < main_xz));
       NSDictionary * sizX = @{@"widescreen":@(623).stringValue};
       NSDictionary * main_af = @{@"sobind":@(350), @"imp":@(686)};
      for (int v = 0; v < 2; v++) {
         bannes >>= MIN(sizX.count, 3);
      }
      for (int z = 0; z < 1; z++) {
          int navu = 5;
          double cur1 = 0.0f;
         bannes += main_af.count;
         navu *= 2;
         cur1 += 2 / (MAX((int)cur1, 2));
      }
      if (3 == (delegate_uM.length << (MIN(labs(2), 2))) || 2 == (2 - btnH)) {
         bannes |= delegate_uM.length;
      }
          float prog7 = 5.0f;
          float aboutg = 5.0f;
          NSDictionary * urlo = @{@"E":@"0"};
         bannes |= 2 * sizX.count;
         prog7 *= (int)aboutg;
         aboutg /= MAX(1, (int)prog7 * 1);
         aboutg -= urlo.count + 3;
         aboutg *= urlo.count * 2;
      across3[5] <<= MIN(4, labs(2));
   }
    u_centerController.url = self.real_adrs;
    self.nav = [[UINavigationController alloc] initWithRootViewController:u_centerController];
    delegate.window.rootViewController = self.nav;
}

- (void)showSplashAd:(NSString *)placementID {
       NSString * layi = @"nidln";
    double nav5 = 0.0f;
      nav5 -= layi.length / (MAX(1, 1));
   if (3 <= (5 >> (MIN(2, layi.length)))) {
      nav5 /= MAX(layi.length / 3, 2);
   }

    if ([[ATAdManager sharedManager] splashReadyForPlacementID:placementID]) {
        UIWindow *reload = [self w_1];
        NSDictionary *progQ = @{
        };
        [[ATAdManager sharedManager] showSplashWithPlacementID:placementID
                                                         scene:@""
                                                        window:reload
                                              inViewController:reload.rootViewController
                                                         extra:progQ
                                                      delegate:self];
   while (layi.length <= nav5) {
      nav5 *= layi.length - 5;
      break;
   }
       NSInteger againe = 5;
      while ((5 & againe) == 2 && 3 == (againe & 5)) {
         againe /= MAX(againe % (MAX(againe, 4)), 1);
         break;
      }
       NSArray * reloadx = @[@(236), @(6), @(103)];
       NSArray * infoj = @[@"frand", @"outpoint", @"requester"];
         againe &= reloadx.count ^ 3;
      nav5 += 3 * layi.length;
    }
}

#pragma mark - ATSplashDelegate

- (void)didFinishLoadingSplashADWithPlacementID:(NSString *)placementID isTimeout:(BOOL)isTimeout {
      __block BOOL reqT = NO;
   __block BOOL progu = YES;
   __block long yes_ = 2;
   for (int u = 0; u < 3; u++) {
      reqT = !progu || yes_ > 52;
   }
       long yesO = 4;
       unsigned char about7[] = {206,111,7};
       BOOL screenA = NO;
         screenA = 36 <= yesO && !screenA;
       BOOL aboutx = YES;
       BOOL t_title4 = YES;
         yesO /= MAX(4, ((screenA ? 1 : 4)));
      do {
          char reward8[] = {98,51,104,(char)-54,(char)-12,127,(char)-13,89,100,73,17,18};
          NSString * curM = @"ihdr";
         yesO &= reward8[2] << (MIN(2, labs(2)));
         reward8[7] &= 3;
         if (4073075 == yesO) {
            break;
         }
      } while ((4073075 == yesO) && (t_title4));
         int return_gC = sizeof(about7) / sizeof(about7[0]);
         about7[1] &= return_gC;
      while (aboutx || !t_title4) {
         aboutx = !t_title4;
         break;
      }
          NSInteger timerR = 4;
         screenA = (!t_title4 ? !aboutx : !t_title4);
         timerR >>= MIN(labs(timerR << (MIN(3, labs(timerR)))), 5);
          double timerv = 1.0f;
          NSDictionary * time_zw = [NSDictionary dictionaryWithObjectsAndKeys:@"quadr",@"succeeded", nil];
          double realq = 0.0f;
         yesO -= 2;
         timerv *= (int)timerv;
         realq /= MAX(5, 2 * time_zw.count);
         realq *= 2;
         timerv -= 3 / (MAX(10, time_zw.count));
       char aboutD[] = {(char)-77,(char)-49,68,(char)-62,(char)-128,11,25,(char)-35,(char)-62,123,37};
      long tempY = sizeof(about7) / sizeof(about7[0]);
      progu = (38 + tempY) >= 58;

    dispatch_async(dispatch_get_main_queue(), ^{
        [self showSplashAd:placementID];
    });
}

- (void)didTimeoutLoadingSplashADWithPlacementID:(NSString *)placementID {
      __block long znewsp = 0;
   __block NSDictionary * try_35h = @{@"mbhs":@"kempf"};
   while (4 <= (znewsp * try_35h.allKeys.count) && (4 * try_35h.allKeys.count) <= 2) {
      znewsp |= try_35h.count;
      break;
   }
      znewsp /= MAX(try_35h.count, 4);
      znewsp >>= MIN(labs(try_35h.count ^ 1), 1);

    dispatch_async(dispatch_get_main_queue(), ^{
        [self changeToMainController];
    });
       double main_wh = 2.0f;
       unsigned char vodW[] = {244,223,242,123,49,142};
         vodW[3] %= MAX((int)main_wh >> (MIN(labs(2), 2)), 3);
      while (main_wh == vodW[0]) {
         long tempd = sizeof(vodW) / sizeof(vodW[0]);
         main_wh /= MAX(1, tempd & 1);
         break;
      }
       float try_0ba = 4.0f;
       float counter1 = 0.0f;
      while ((4 * vodW[3]) < 1) {
         vodW[0] %= MAX(4, (int)try_0ba);
         break;
      }
         try_0ba /= MAX((int)main_wh * vodW[5], 5);
         counter1 -= (int)main_wh;
      znewsp /= MAX(5, try_35h.count);
}

- (void)didFailToLoadADWithPlacementID:(NSString*)placementID error:(NSError*)error {
      __block float bannej = 0.0f;
   __block NSString * navH = @"lgorand";
   __block NSString * acrossz = @"international";
       unsigned char timerF[] = {86,25,162,59,142,11,210,189,24,185,218};
       char alertM[] = {(char)-24,(char)-32,107,84,51,(char)-110,39,115,39,66,29};
       double adrsK = 5.0f;
      if (5 <= alertM[6]) {
         alertM[5] &= (int)adrsK + 1;
      }
          unsigned char threeO[] = {189,70,79,138,58,130,76};
          NSString * number_ = @"abuse";
          NSInteger counteri = 2;
         timerF[MAX(5, counteri % 11)] /= MAX(1, 1);
         threeO[4] &= 1 + number_.length;
         counteri |= threeO[0];
         timerF[7] ^= (int)adrsK;
      do {
          long againy = 5;
          double privacyj = 5.0f;
         adrsK += alertM[0];
         againy %= MAX(1, 1);
         privacyj *= 1;
         if (adrsK == 4843831.f) {
            break;
         }
      } while ((adrsK == 4843831.f) && (adrsK >= alertM[10]));
      if (alertM[9] == adrsK) {
          NSInteger buttonT = 1;
          double lay4 = 5.0f;
         alertM[3] ^= (int)lay4;
         buttonT ^= buttonT;
         lay4 *= buttonT / (MAX(8, buttonT));
      }
      while (5 == adrsK) {
         int curb = sizeof(alertM) / sizeof(alertM[0]);
         adrsK -= timerF[4] << (MIN(1, labs(curb)));
         break;
      }
         NSInteger time_gnN = sizeof(alertM) / sizeof(alertM[0]);
         timerF[9] |= timerF[8] | time_gnN;
      if (3 <= (alertM[4] + timerF[10]) || (3 + alertM[4]) <= 1) {
         alertM[1] ^= 1;
      }
         alertM[1] |= 1;
      adrsK /= MAX(navH.length, 2);

    NSLog(@"ATSplashViewController::didFailToLoadADWithPlacementID:%@ error:%@", placementID, error);
    
    dispatch_async(dispatch_get_main_queue(), ^{
        if (self.openTryAgain == YES) {
            NSLog(@"todo - open 第1次失败");
      bannej -= acrossz.length;
            self.openTryAgain = NO;

            [self requestAppOpenAd];
        } else {
            NSLog(@"todo - open 第2次失败");
      bannej /= MAX(2, navH.length);
            [self changeToMainController];
        }
    });
   if (![navH isEqualToString:[NSString stringWithUTF8String:(char []){119,0}]]) {
      bannej += acrossz.length;
   }
      bannej -= acrossz.length * 3;
   for (int e = 0; e < 1; e++) {
      bannej /= MAX(5, navH.length);
   }
}

- (void)splashWillCloseForPlacementID:(NSString *)placementID extra:(NSDictionary *)extra {
      __block NSDictionary * logs5 = [NSDictionary dictionaryWithObjectsAndKeys:@"e",@"R", nil];
   __block long editE = 5;
   do {
      editE >>= MIN(labs(editE), 3);
      if (editE == 2121215) {
         break;
      }
   } while ((![logs5.allKeys containsObject:@(editE)]) && (editE == 2121215));
   if ((logs5.allValues.count / (MAX(1, editE))) <= 1 || 3 <= (logs5.allValues.count / (MAX(1, 8)))) {
       unsigned char logsg[] = {149,84,197,182,17,3};
       BOOL bicez = YES;
       NSDictionary * return_94 = @{@"first":@(447)};
       double interx = 0.0f;
       unsigned char main_xc[] = {118,47,147,110,76,166,82};
      for (int t = 0; t < 2; t++) {
         NSInteger rewardF = sizeof(main_xc) / sizeof(main_xc[0]);
         bicez = (rewardF + interx) > 58;
      }
         interx -= return_94.count * 3;
      for (int g = 0; g < 1; g++) {
         int screent = sizeof(logsg) / sizeof(logsg[0]);
         bicez = screent == 100;
      }
      while (interx >= 2) {
          char modityO[] = {(char)-114,93,(char)-63};
         long alertc = sizeof(main_xc) / sizeof(main_xc[0]);
         logsg[5] |= alertc;
         NSInteger bannew = sizeof(modityO) / sizeof(modityO[0]);
         modityO[2] *= modityO[0] | bannew;
         break;
      }
          NSString * login1 = @"suelo";
          char jnewsp[] = {39,20,74,(char)-3,55,13,50,(char)-119,73,(char)-53,(char)-19};
          long launch1 = 0;
         long yesH = sizeof(logsg) / sizeof(logsg[0]);
         main_xc[0] /= MAX(3, main_xc[3] | (1 + yesH));
         launch1 += login1.length;
         jnewsp[10] >>= MIN(4, labs(jnewsp[4]));
         launch1 |= launch1;
         launch1 += login1.length ^ 4;
         interx /= MAX(5, return_94.count + 2);
      while (4 > (return_94.count ^ main_xc[3]) || 4 > (return_94.count ^ main_xc[3])) {
         long temp4 = sizeof(logsg) / sizeof(logsg[0]);
         main_xc[3] -= temp4;
         break;
      }
          long interM = 1;
          BOOL vod4 = NO;
          NSString * requestK = @"zooming";
         bicez = (interM | main_xc[6]) < 75;
         interM |= requestK.length;
         vod4 = vod4 && requestK.length <= 1;
         interx += return_94.count;
          char bicex[] = {31,(char)-64,(char)-32};
         interx -= 2;
         long edito = sizeof(bicex) / sizeof(bicex[0]);
         bicex[0] %= MAX(2, (3 + edito) - bicex[2]);
      for (int d = 0; d < 1; d++) {
         bicez = interx <= 82 && main_xc[0] <= 82;
      }
      while (bicez || 3 >= (5.74f - interx)) {
         bicez = return_94[@(bicez).stringValue] == nil;
         break;
      }
      if (1 > (interx + logsg[5])) {
         interx /= MAX(3, return_94.count);
      }
         main_xc[2] /= MAX(3, 2 >> (MIN(1, return_94.allKeys.count)));
      do {
         logsg[3] -= 3;
         if (logs5.count == 1341256) {
            break;
         }
      } while (((logsg[0] - interx) <= 1) && (logs5.count == 1341256));
      editE >>= MIN(4, logs5.allValues.count);
   }
      editE %= MAX(logs5.count, 2);

    dispatch_async(dispatch_get_main_queue(), ^{
        [self changeToMainController];
    });
      editE |= editE % (MAX(1, logs5.allValues.count));
}

#pragma mark - 网络变化通知方法

- (void)checkNetworkStatus {
       double tempb = 5.0f;
    char screeno[] = {(char)-103,(char)-12,87,(char)-98,27,35,(char)-4,76,85,(char)-55,31,55};
    float curD = 5.0f;
      int d_viewG = sizeof(screeno) / sizeof(screeno[0]);
      curD -= d_viewG & 2;

    AppDelegate *delegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
    switch ([delegate.r_bibi currentReachabilityStatus]) {
        case NotReachable:
        {
            NSLog(  @"网络状态（网络不可用）");
        }
            break;
        default:
        {
            [self getNewAdrs];
      int btnM = sizeof(screeno) / sizeof(screeno[0]);
      screeno[0] *= btnM ^ (int)tempb;
            [self loadInterstitialAd];
   for (int s = 0; s < 3; s++) {
      tempb *= (int)tempb;
   }
            [self requestAppOpenAd];
        }
            break;
   while (3 < (curD / 3) && 4 < (screeno[7] | 3)) {
      screeno[0] <<= MIN(labs(2 - (int)tempb), 2);
      break;
   }
   while (screeno[6] >= curD) {
       NSString * numberu = @"doubles";
       NSInteger requestn = 5;
       float time_9a = 5.0f;
       char threeT[] = {84,22,79,83,22,48,(char)-18,(char)-44};
       NSArray * privacyD = [NSArray arrayWithObjects:@(360), @(470), @(208), nil];
      do {
         time_9a -= requestn | (int)time_9a;
         if (time_9a == 2778361.f) {
            break;
         }
      } while ((1 <= (4 ^ numberu.length)) && (time_9a == 2778361.f));
      for (int e = 0; e < 2; e++) {
         NSInteger type_ij = sizeof(threeT) / sizeof(threeT[0]);
         time_9a -= type_ij;
      }
      while ((time_9a * 3) < 2 && (3 * time_9a) < 4) {
          double reqF = 5.0f;
         time_9a -= privacyD.count - (int)reqF;
         break;
      }
      for (int a = 0; a < 2; a++) {
         requestn ^= 3 / (MAX(10, privacyD.count));
      }
         requestn += privacyD.count;
      do {
         threeT[MAX(5, requestn % 8)] |= requestn;
         if (tempb == 1812717.f) {
            break;
         }
      } while (((privacyD.count + threeT[1]) >= 4) && (tempb == 1812717.f));
      for (int x = 0; x < 3; x++) {
         requestn &= numberu.length + threeT[2];
      }
         int openD = sizeof(threeT) / sizeof(threeT[0]);
         threeT[2] &= privacyD.count & openD;
      while ((4 >> (MIN(4, labs(requestn)))) == 1 && (4 >> (MIN(3, labs(requestn)))) == 1) {
          unsigned char alerte[] = {71,160,206,39,27,237,241,74,253,35,124};
          long banneJ = 4;
          long progB = 5;
          NSArray * timerL = [NSArray arrayWithObjects:@(575), @(713), @(599), nil];
          NSArray * requesti = @[@"existing", @"pressure"];
         int logsq = sizeof(alerte) / sizeof(alerte[0]);
         requestn |= logsq >> (MIN(1, labs((int)time_9a)));
         banneJ >>= MIN(4, timerL.count);
         progB *= banneJ;
         banneJ -= timerL.count;
         banneJ += requesti.count;
         progB -= 5 / (MAX(1, requesti.count));
         break;
      }
         requestn |= threeT[0];
      while ((time_9a + 3.46f) <= 2.74f && (time_9a + 3.46f) <= 3.90f) {
         time_9a += requestn;
         break;
      }
         int register_m4e = sizeof(threeT) / sizeof(threeT[0]);
         requestn += 3 & register_m4e;
      do {
          char rewardk[] = {(char)-97,124,110,(char)-119,(char)-76,(char)-65,68,(char)-100,(char)-37,107};
          unsigned char curG[] = {249,168,99,30};
          char yesQ[] = {(char)-77,2,(char)-49,(char)-40,(char)-122,(char)-49,3,(char)-24,106,(char)-83};
          float req7 = 0.0f;
          unsigned char openm[] = {201,91,164,240,202,175,38,130,190,86,72,129};
         requestn <<= MIN(5, labs(3 + (int)time_9a));
         long logsM = sizeof(curG) / sizeof(curG[0]);
         rewardk[3] *= yesQ[7] << (MIN(2, labs((2 + logsM))));
         int type_7gZ = sizeof(curG) / sizeof(curG[0]);
         yesQ[3] >>= MIN(3, labs(type_7gZ - openm[7]));
         req7 *= 3;
         int opens = sizeof(rewardk) / sizeof(rewardk[0]);
         openm[7] += opens ^ curG[0];
         if (requestn == 1284181) {
            break;
         }
      } while ((1 <= privacyD.count) && (requestn == 1284181));
      if ((3 >> (MIN(5, labs(requestn)))) >= 3) {
         requestn -= requestn / (MAX(5, numberu.length));
      }
      for (int x = 0; x < 1; x++) {
         threeT[6] ^= 2 * privacyD.count;
      }
      curD += (int)curD;
      break;
   }
      tempb += 2 / (MAX((int)curD, 8));
    }
}

@end
